Skip to content

Only use non-server generated events for max rev setting#3776

Merged
marcellamaki merged 3 commits intolearningequality:hotfixesfrom
rtibbles:one_less
Oct 28, 2022
Merged

Only use non-server generated events for max rev setting#3776
marcellamaki merged 3 commits intolearningequality:hotfixesfrom
rtibbles:one_less

Conversation

@rtibbles
Copy link
Copy Markdown
Member

Summary

Description of the change(s) you made

Reverts changes from #3771
Instead changes the max rev setting for events received from the backend to filter out server generated events
Also changes how we send max rev from the backend to do the same filtering
Adds use of the visibility API for the active channel tracking so that switching back to a browser tab is sufficient to mark a channel as active, rather than needing to click inside the window

Manual verification steps performed

  1. Do an import of a folder

  2. Ensure that clicking into the folder properly lists it

  3. Open a different browser session

  4. Initiate an import into the same channel in that session

  5. Click back to the window/tab of the original session and ensure the copied item appears once the copy completes

References

Fixes issue reported here: #3771 (comment)

@rtibbles rtibbles requested a review from marcellamaki October 26, 2022 20:31
Copy link
Copy Markdown
Member

@marcellamaki marcellamaki left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good to me; testing works as explained

@marcellamaki marcellamaki merged commit b8eb534 into learningequality:hotfixes Oct 28, 2022
@rtibbles rtibbles deleted the one_less branch October 28, 2022 16:59
@bjester bjester mentioned this pull request Nov 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants